package com.fangyi.yunmusic.mapper;

import com.fangyi.yunmusic.pojo.User;
import com.fangyi.yunmusic.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends MyMapper<User> {

    public List<User> selectUserByIds(@Param("ids") List<String> ids);
    public  User selectUserByNickname(@Param("nickname") String nickname);

//    int insertSelective(User user);
    int insert(User user);

    int insertSelective(User user);

    int deleteByPrimaryKey(Object o);

    int updateByPrimaryKey(User user);

    int updateByPrimaryKeySelective(User user);
}